/**************************************************************************************
 *
 * @(#) LeChangeConfig.java
 * @Package com.jgdt.jgdtkasannong_university_gene_backend.config.video.lc.cloud
 **************************************************************************************/
package com.jgdt.jgdtkasannong_university_gene_backend.config.video.lc.cloud;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LeChangeConfig {

    public String getAppId() {
        return appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public String getChannelId() {
        return channelId;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    @Value("${lechange.appId}")
    private String appId;

    @Value("${lechange.appSecret}")
    private String appSecret;

    @Value("${lechange.deviceId}")
    private String deviceId;

    @Value("${lechange.channelId}")
    private String channelId = "0"; // 默认通道号

    @Value("${lechange.apiUrl}")
    private String apiUrl = "https://openapi.lechange.cn";
}




